package org.example.service;

import org.example.model.Code;

import java.util.List;

public interface CodeService {
    void addCode(Code code);
    List<Code> findByEmailOrderByCreatetimeDesc(Code code);
}
